/*
 * @Description: 
 * @Version: 2.0
 * @Autor: ycw
 * @Date: 2022-01-29 14:50:32
 * @LastEditors: ycw
 * @LastEditTime: 2022-01-29 14:51:53
 */
import https from '@/utils/https'
// 查询登录日志列表
export const list=(query)=> {
  return https({
    url: '/system/logininfor/list',
    method: 'get',
    params: query
  })
}

// 删除登录日志
export const delLogininfor=(infoId)=> {
  return https({
    url: '/system/logininfor/' + infoId,
    method: 'delete'
  })
}

// 清空登录日志
export const cleanLogininfor=()=> {
  return https({
    url: '/system/logininfor/clean',
    method: 'delete'
  })
}
